package day10_poly.demo02_ploy;

public class Cat extends Animal{
    @Override
    public void eat() {
        System.out.println("猫吃东西");
    }

    public Cat() {
    }

    public Cat(int age, String name) {
        super(age, name);
    }
    public void play(){
        System.out.println("猫玩东西");
    }
}
